The DBus JS binding will complain if the signature of a method
or of a signal is undefined, so we need to define it even if it
is an empty string, and we need to use the correct property name
for signals.
https://bugzilla.gnome.org/show_bug.cgi?id=643374
const PresenceIface = {
name: 'org.gnome.SessionManager.Presence',
methods: [{ name: 'SetStatus',
- inSignature: 'u' }],
+ inSignature: 'u',
+ outSignature: '' }],
properties: [{ name: 'status',
signature: 'u',
access: 'readwrite' }],
}
],
signals: [{ name: 'Canceled',
- outSignature: '',
+ inSignature: '',
}],
properties: []
};
{ name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susbut)' },
],
signals: [
- { name: 'Changed', outSignature: '' },
+ { name: 'Changed', inSignature: '' },
],
properties: [
{ name: 'Icon', signature: 's', access: 'read' },